
/**
 * @param {*} list 轮播图接口
 */
const BannerService = require('../service/BannerService')

const BannerController = {
    list: async(req, res) => {
        const { location } = req.query
        let handleRes =await BannerService.list(location)
        res.send(handleRes)
    },
}
module.exports = BannerController